package data.join.com.http;

import java.util.ArrayList;

import data.join.com.database.bean.VideoDBPref;

/**
 * Created by Administrator on 2016/5/6.
 */
public class VideoDelete {
    public static class VideoId{
        public int videoId;
    }
    public String deviceImei;
    public ArrayList<VideoId> videoList;

    public boolean start(){
        boolean ret = false;
        if(videoList!= null)
            for(VideoId video:videoList){
                ret = VideoDBPref.getInstance().deleteVideoById(video.videoId);
                if(!ret)break;
            }
        return ret;
    }
}
